<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>兑换金币</title>
</head>
<body>

<form method="post" action="$_G[siteurl]home.php?mod=spacecp&ac=plugin&id=mangos:buy_gold&buy=1">
    <table>
        <tr>
            <td>兑换比例</td>
            <td>{$mangos_s2g} 金钱/金币</td>
        </tr>
        <tr>
            <td>服务器名</td>
            <td><input name="server"></td>
        </tr>
        <tr>
            <td>角色名</td>
            <td><input name="chara"></td>
        </tr>
        <tr>
            <td>当前金钱</td>
            <td>{$credits}</td>
        </tr>
        <tr>
            <td>要兑换的金钱</td>
            <td><input name="score"></td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit" value="兑换"></td>
        </tr>
    </table>
</form>

<!--{if $error}-->
<h1>{$error}</h1>
<!--{/if}-->

<!--{if $msg}-->
<h1>{$msg}</h1>
<!--{/if}-->

</body>
</html>